package com.sunther.document.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author csb
 * @description: TODO
 * @date 2023/6/27 10:47
 */
@TableName(value = "document_message_v1")
public class MsgEntity extends BaseEntity{

    @TableId(value="id",type = IdType.AUTO)
    private Integer id;

    private String content;

    private Integer readStatus;

    @TableField(exist = false)
    private String readStatusText;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getReadStatus() {
        return readStatus;
    }

    public void setReadStatus(Integer readStatus) {
        this.readStatus = readStatus;
    }

    public String getReadStatusText() {
        return readStatusText;
    }

    public void setReadStatusText(String readStatusText) {
        this.readStatusText = readStatusText;
    }
}
